package edu.sctu.practice.class02.qiuyangyang.text09;

/**
 * Created by Administrator on 2015/10/11 0011.
 */
public class User {
    String ID;
    String password;
    String emailAddress;

    public User(String ID, String password) {
        this.ID = "qiuyoung";
        this.password = "wordpass";
        this.emailAddress = emailAddress;
    }

    public void print() {
        System.out.println("用户名：" + ID);
        System.out.println("密码：" + password);
        System.out.println("邮箱地址：" + ID + "@gameschool.com");
    }


    public static void main(String[] args) {
        User r = new User("qiuyoung", "wordpass");
        r.print();
    }

}
